package org.nci.platform.workflow.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import gh.priv.general.common.dto.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 流程达式对象 sys_expression
 *
 * @author ruoyi
 * @date 2022-12-12
 */
@Setter
@Getter
public class SysExpressionQuery extends BaseQuery
{


    /** 表达式名称 */
    @Schema(description = "表达式名称")
    private String name;

    /** 表达式内容 */
    @Schema(description = "表达式内容")
    private String expression;
    /** 表达式类型 */
    @Schema(description = "表达式类型")
    private String dataType;

    /** 状态 */
    @Schema(description = "状态")
    private Integer status;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    
}
